package top.z.orm.handle.osql.core;

import top.z.orm.core.osql.Condition;
import top.z.orm.core.osql.MoreObjToSQL;

public class MoreObjectToSQL implements MoreObjToSQL {

    @Override
    public <T> String toSelectSQL(T entity) {
        // 默认过滤 Null 和空字符串
        return _MoreObjectToSQLHelper._toSelectSQL(entity);
    }

    @Override
    public <T> String toSelectSQL(T entity, int start, int size) {
        // 默认过滤 Null 和空字符串
        return _MoreObjectToSQLHelper._toSelectSQL(entity, start, size);
    }

    @Override
    public <T> String toSelectSQL(T entity, Condition condition) {
        // 若 Condition 没有设置 IncludeType, 默认过滤 NULL 和空字符串
        return _MoreObjectToSQLHelper._toSelectSQL(entity, condition);
    }
}